-- GENERATED SPELL FOR [Vagash] --


function spell0_1388(pUnit, Event) --@Glacial Roar,n/a--
pUnit:FullCastSpellOnTarget(3143,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1388', 4000, 1)
end

function Sorts_1388(pUnit, Event)
local choix_sorts_1388 = math.random(0, 0)
if choix_sorts_1388 == 0 then
pUnit:RegisterEvent('spell0_1388', 1, 1)
end
end

function mob1388_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1388', math.random(1500, 3000), 1)
end

function mob1388_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1388_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1388_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1388, 1, 'mob1388_Action')
RegisterUnitEvent(1388, 2, 'mob1388_Leave')
RegisterUnitEvent(1388, 3, 'mob1388_Kill')
RegisterUnitEvent(1388, 4, 'mob1388_Die')
